/*
 * @Author: 极夜
 * @Date: 2023-12-14 20:36:40
 * @LastEditors: 极夜
 * @LastEditTime: 2023-12-14 20:36:55
 * @FilePath: /study/src/utils/fontPlugin.js
 * @Description: 
 * 
 * Copyright (c) 2023 by 深木, All Rights Reserved. 
 */
// fontPlugin.js
export default {
    install(app) {
      app.config.globalProperties.$setFont = function(size) {
        document.documentElement.style.fontSize = size;
      };
    }
  };
  